// 原型式继承
function object(obj) {
    function F() {}
    F.prototype = obj
    return new F()
}

var person1 = {
    name:'tom',
    corlor:'blue'
}
var person2 = Object.create(person1,{
    naem:{
        value:'jack'
    }
})
var person3 = Object.create(person1,{
    naem:{
        value:'rose'
    }
})

console.log(person2);